import request from '@/utils/request'

export default{
    //分页查询评论内容
    getCommentList(page,limit){
        return request({
            url: `/eduservice/commentfront/list/${page}/${limit}`,
            method: 'post'
        })
    },
    //发表评论
    publishComment(comment,token){
        return request({
            url: `/eduservice/commentfront/publish/${token}`,
            method: 'post',
            data: comment
        
        })
    }
}